package com.testmanager.testmananger.quantitative.domain;

import com.testmanager.testmananger.foundation.domain.AbstractAuditingEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Accessors(chain = true)
@Table(name = "yx_task_info")
public class TaskInfoEntity extends AbstractAuditingEntity implements Serializable {
    private static final long serialVersionUID = 7665066540672790024L;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private long id;
    @Column(name = "taskno")
    private long taskno;
    @Column(name = "owner_no")
    private long ownerNo;
    @Column
    private String name;
    @Column
    private double progress;
    @Column
    private String comment;
}
